package com.axiu;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.util.Log;
import android.view.View;
import android.webkit.WebView;
import android.widget.Button;
import android.widget.TextView;

public class ContentActivity extends Activity {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_content);
        Intent intent = getIntent();
        TextView title = (TextView) findViewById(R.id.top_bar_title);
        title.setText(intent.getStringExtra("title"));
        WebView web = (WebView) findViewById(R.id.content);
        web.loadUrl(intent.getStringExtra("content"));
    }
}
